// 集装箱 物品
import request from "@/utils/https/requests";
// 列表
export function containerGoodsList(data: any) {
  return request({
    url: "/containerGoods/list",
    method: "post",
    data,
  });
}
// 添加
export function postAddContainerGoods(data: any) {
  return request({
    url: "/containerGoods/postAdd",
    method: "post",
    data,
  });
}
// 修改
export function postModContainerGoods(data: any) {
  return request({
    url: `/containerGoods/postMod/${data.id}`,
    method: "post",
    data,
  });
}
// 详情
export function containerGoodsDetail(id: string) {
  return request({
    url: `/containerGoods/detail/${id}`,
    method: "post",
  });
}
// 删除
export function postDeleteContainerGoods(id: string) {
  return request({
    url: `/containerGoods/postDelete/${id}`,
    method: "post",
  });
}
